4月24日提交

master
rosehan 2 years ago
parent 099835ef1c
commit 3036969271
  1. 3
      pages/traceability-product/delivery/deliveryEdit.vue
  2. 3
      pages/traceability-product/delivery/index.vue
  3. 6
      pages/traceability-product/index.vue
  4. 6
      pages/traceability-product/loss/index.vue
  5. 7
      pages/traceability-product/loss/lossEdit.vue
  6. 1
      pages/traceability-product/machining/materialsList.vue
  7. 3
      pages/traceability-product/sales/index.vue
  8. 2
      pages/traceability-product/sales/salesEdit.vue

@ -13,8 +13,7 @@
<view class="v-form-item">
<view class="v-form-tip delivery m-t-small"></view>
<uni-forms-item label="配送公司" name="logisticsId" required>
<picker @change="CustomChange" v-model="formData.logisticsId" mode='selector'
:value="CurrentCustomer" :range="CustomPickerList">
<picker @change="CustomChange" :value="index" :range="CustomPickerList">
<view class="uni-input" v-if="CustomPickerList[CurrentCustomer]">
{{CustomPickerList[CurrentCustomer]}}
</view>

@ -133,9 +133,6 @@
}
},
mixins: [mix],
onLoad: function() {
this.getListData()
},
methods: {
//
async getListData(pageNo, pageSize) {

@ -123,9 +123,6 @@
}
},
mixins: [mix],
onLoad: function() {
this.getListData()
},
methods: {
//
GoToPage(value) {
@ -156,8 +153,7 @@
pageNo: pageNo,
pageSize: pageSize,
processingName: this.queryParams.processingName,
}
console.log(queryParams)
}
const res = await ProductApi.getProductPage(queryParams)
this.$refs.paging.complete(res.data.list)
} catch {

@ -127,9 +127,6 @@
}
},
mixins: [mix],
onLoad: function() {
this.getListData()
},
methods: {
//
async getListData(pageNo, pageSize) {
@ -139,8 +136,7 @@
pageNo: pageNo,
pageSize: pageSize,
processingName: this.queryParams.processingName,
}
console.log(queryParams)
}
const res = await ProductApi.getLossPage(queryParams)
this.$refs.paging.complete(res.data.list)
} catch {

@ -12,8 +12,7 @@
<uni-forms :modelValue="formData" ref="formRef" :label-width="120" :rules="formRules">
<view class="v-form-item">
<uni-forms-item label="报损类型" name="lossType" required>
<picker @change="LossTypeChange" v-model="formData.lossType" mode='selector'
:value="CurrenLossType" :range="LossTypePickerList">
<picker @change="LossTypeChange" :value="CurrenLossType" :range="LossTypePickerList">
<view class="uni-input" v-if="LossTypePickerList[CurrenLossType]">
{{LossTypePickerList[CurrenLossType]}}
</view>
@ -51,7 +50,7 @@
return {
ProductID: null,
CurrenLossType: 1,
CurrenLossType:0,
LossTypeList: [], //
LossTypePickerList: [], //
@ -59,7 +58,7 @@
productId: undefined,
productName: undefined,
traceabilityProduct: undefined,
lossType: 1,
lossType: 2,
productLoss: undefined,
lossReason: undefined
},

@ -71,7 +71,6 @@
} else {
this.reviceData = null;
}
this.getListData()
},
methods: {
//

@ -125,9 +125,6 @@
}
},
mixins: [mix],
onLoad: function() {
this.getListData()
},
methods: {
//
async getListData(pageNo, pageSize) {

@ -87,7 +87,7 @@
customAddress: undefined,
contacts: undefined,
phone: undefined,
salesType: 0,
salesType: 1,
salesNumber: undefined,
salesVolume: undefined
},

Loading…
Cancel
Save