Forráskód Böngészése

关联产品列表

lilei 4 éve
szülő
commit
6aa29dad52

+ 2 - 2
src/views/salesManagement/salesQuery/list.vue

@@ -135,7 +135,7 @@
           size="small"
           type="link"
           class="button-warning"
-          v-if="record.billStatus == 'OUTING_WAREHOUS'"
+          v-if="record.billStatus == 'OUTING_WAREHOUSE'"
           @click="handleDispatch(record)"
         >下推</a-button>
 
@@ -304,7 +304,7 @@ export default {
         okText: '审核通过',
         cancelText: '审核不通过',
         onOk () {
-          _this.auditOrder(row.salesBillSn, 'OUTING_WAREHOUS')
+          _this.auditOrder(row.salesBillSn, 'OUTING_WAREHOUSE')
         },
         onCancel (e) {
           if (!e.triggerCancel) {

+ 8 - 8
src/views/supplierManagement/associatedProductDetails/list.vue

@@ -16,7 +16,7 @@
           </a-col>
           <a-col :md="6" :sm="24">
             <a-form-item label="产品编码/原厂编码">
-              <a-input id="associatedProductList-productCode" v-model.trim="queryParam.product.code" allowClear placeholder="请输入产品编码"/>
+              <a-input id="associatedProductList-productCode" v-model.trim="queryParam.product.queryWord" allowClear placeholder="请输入产品编码"/>
             </a-form-item>
           </a-col>
           <template v-if="advanced">
@@ -88,13 +88,13 @@ export default {
       productType: [],
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
-        { title: '供应商名称', dataIndex: 'productNsame', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '品牌', dataIndex: 'productBrandName', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 200, align: 'center' },
-        { title: '产品名称', dataIndex: 'productName', width: 220, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '产品编码', dataIndex: 'productCode', width: 220, align: 'center' },
-        { title: '成本价(¥)', dataIndex: 'sterminaldsdPrice', width: 110, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '原厂编码', dataIndex: 'origCode', width: 220, align: 'center', customRender: function (text) { return text || '--' } }
+        { title: '供应商名称', dataIndex: 'supplierName', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '品牌', dataIndex: 'product.productBrandName', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 300, align: 'center' },
+        { title: '产品名称', dataIndex: 'product.name', width: 220, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '产品编码', dataIndex: 'product.code', width: 220, align: 'center' },
+        { title: '成本价(¥)', dataIndex: 'cost', width: 110, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '原厂编码', dataIndex: 'product.origCode', width: 220, align: 'center', customRender: function (text) { return text == '' ? '--' : text } }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {