|
@@ -70,6 +70,7 @@ public class stockbill extends Controller {
|
|
|
String delivery = content.getStringValue("delivery");
|
|
String delivery = content.getStringValue("delivery");
|
|
|
String logisticsmethod = content.getStringValue("logisticsmethod");
|
|
String logisticsmethod = content.getStringValue("logisticsmethod");
|
|
|
Rows invoicerows = dbConnect.runSqlQuery("select * from sys_enterprise_finance where sys_enterpriseid=" + sys_enterpriseid + " order by isdefault desc");
|
|
Rows invoicerows = dbConnect.runSqlQuery("select * from sys_enterprise_finance where sys_enterpriseid=" + sys_enterpriseid + " order by isdefault desc");
|
|
|
|
|
+ Rows addressrows = dbConnect.runSqlQuery("select * from sys_enterprise_contacts where sys_enterpriseid=" + sys_enterpriseid + " order by isdefault desc");
|
|
|
String invoice_enterprisename = content.getStringValue("invoice_enterprisename");
|
|
String invoice_enterprisename = content.getStringValue("invoice_enterprisename");
|
|
|
String invoice_address = content.getStringValue("invoice_address");
|
|
String invoice_address = content.getStringValue("invoice_address");
|
|
|
String invoice_taxno = content.getStringValue("invoice_taxno");
|
|
String invoice_taxno = content.getStringValue("invoice_taxno");
|
|
@@ -1167,6 +1168,7 @@ public class stockbill extends Controller {
|
|
|
String phonenumber = content.getStringValue("phonenumber");
|
|
String phonenumber = content.getStringValue("phonenumber");
|
|
|
String address = content.getStringValue("address");
|
|
String address = content.getStringValue("address");
|
|
|
BigDecimal agencyfund = content.getBigDecimal("agencyfund");
|
|
BigDecimal agencyfund = content.getBigDecimal("agencyfund");
|
|
|
|
|
+ String ordertype = content.getStringValue("ordertype");
|
|
|
|
|
|
|
|
JSONArray st_stockbillids=content.getJSONArray("st_stockbillids");
|
|
JSONArray st_stockbillids=content.getJSONArray("st_stockbillids");
|
|
|
|
|
|
|
@@ -1195,7 +1197,7 @@ public class stockbill extends Controller {
|
|
|
insertSQL.setUniqueid(expressformid);
|
|
insertSQL.setUniqueid(expressformid);
|
|
|
insertSQL.setSiteid(siteid);
|
|
insertSQL.setSiteid(siteid);
|
|
|
insertSQL.setValue("logisticproviderid", "YTO");
|
|
insertSQL.setValue("logisticproviderid", "YTO");
|
|
|
- insertSQL.setValue("ordertype", "4");
|
|
|
|
|
|
|
+ insertSQL.setValue("ordertype", ordertype);
|
|
|
insertSQL.setValue("agencyfund", agencyfund);
|
|
insertSQL.setValue("agencyfund", agencyfund);
|
|
|
insertSQL.setValue("itemname", "配件");
|
|
insertSQL.setValue("itemname", "配件");
|
|
|
insertSQL.setValue("number", 1);
|
|
insertSQL.setValue("number", 1);
|