You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

41 lines
957 B

//app.js
App({
onShow: function() {
var that = this;
wx.getSystemInfo({
success: function (res) {
that.globalData.winWidth = res.windowWidth;
that.globalData.winHeight = res.windowHeight;
}
});
},
globalData: {
customerArray:[],
goodsNameArray:[],
winHeight: 0,
winWidth: 0,
phoneNum: "",
openID: "",
appName: "WeChat",
appID: "wx1a89a89a80318160",
cookie: "",
decryptCookie: '',
userInfo: null,
baseUrl: "https://miniprogram.food988.com/Rest.aspx",
tranferBaseUrl: 'https://miniprogram.food988.com/RequestTransfer.aspx',
globalCustomerID: 0,
selectCustomer_ID: null,
selectStartDate: null,
selectEndDate: null,
selectBillState: null,
billInfo: [],
billInfoUp: [],
shareInState:1,
accountingUnit_ID:0,
accountingUnit_Name: "请选择会计单位",
department_ID:0,
department_Name: "请选择部门",
}
})