@@ -138,10 +138,10 @@
};
if (user.role == 'kj') {
info.status = '0';
- info.accounting = user._id;
+ info.s_accounting = user._id;
} else {
info.status = '2';
- info.leader = user._id;
+ info.s_leader = user._id;
}
let res;
res = await that.$api(`/OrderDetail/queryInfo`, 'GET', {
@@ -328,7 +328,7 @@
.image {
width: 20vw;
height: 20vw;
- border-radius: 5px;
+ border-radius: 5px;
border: 1px solid var(--f9Color);
info.status = '6';
+ info.c_accounting = user._id;
info.status = '7';
+ info.c_leader = user._id;
@@ -43,13 +43,13 @@
<text>下单时间:</text>
<text>{{info.buy_time||'暂无'}}</text>
</view>
- <view class="two_1" v-if="info.leader_name">
+ <view class="two_1" v-if="info.sleader_name">
<text>采购审批领导:</text>
- <text>{{info.leader_name||'暂无'}}</text>
+ <text>{{info.sleader_name||'暂无'}}</text>
- <view class="two_1" v-if="info.accounting_name">
+ <view class="two_1" v-if="info.saccounting_name">
<text>采购审批会计:</text>
- <text>{{info.accounting_name||'暂无'}}</text>
+ <text>{{info.saccounting_name||'暂无'}}</text>
<view class="thr">
@@ -335,10 +335,10 @@ var _default = {
_context3.next = 6;
return that.$api("/OrderDetail/queryInfo", 'GET', _objectSpread(_objectSpread({}, info), that.searchInfo));