|
|
|
@ -8,19 +8,12 @@ var confirmDebitNote = "/MainSystem/B3MiniProgramRpc/XuRpcs/Customer/DebitNoteRp |
|
|
|
|
|
|
|
Page({ |
|
|
|
data: { |
|
|
|
// ConfirmTime:'',
|
|
|
|
// Customer_Name: '',
|
|
|
|
// Remark: '',
|
|
|
|
// ID: '',
|
|
|
|
// AccountingUnit_Name: '',
|
|
|
|
// Date: '',
|
|
|
|
// Employee_Name: '',
|
|
|
|
// Money: '',
|
|
|
|
|
|
|
|
item:{}, |
|
|
|
ConfirmTime: '', |
|
|
|
Date: '', |
|
|
|
orderState:false, |
|
|
|
}, |
|
|
|
orderState:false |
|
|
|
}, |
|
|
|
|
|
|
|
onLoad: function(options) { |
|
|
|
var that =this; |
|
|
|
@ -32,10 +25,13 @@ Page({ |
|
|
|
}; |
|
|
|
|
|
|
|
let method = getDebitNoteDetail; |
|
|
|
let params = ["1"]; |
|
|
|
let params = [orderID]; |
|
|
|
network.requestLoading(method, params, function (res) { |
|
|
|
var backDate = timechage.formatTimeTwo(res.result.Date.substring(6, 19), 'Y/M/D'); |
|
|
|
var backConfirmTime = timechage.formatTimeTwo(res.result.ConfirmTime.substring(6, 19), 'Y/M/D'); |
|
|
|
if (res.result.ConfirmTime){ |
|
|
|
var backConfirmTime = timechage.formatTimeTwo(res.result.ConfirmTime.substring(6, 19), 'Y/M/D'); |
|
|
|
|
|
|
|
} |
|
|
|
that.setData({ |
|
|
|
item: res.result, |
|
|
|
Date: backDate, |
|
|
|
|